package cn.buk.tms.hotel.service;

import cn.buk.tms.hotel.dto.HotelCity;
import cn.buk.tms.hotel.dto.HotelSearchResult;
import cn.buk.tms.hotel.dto.RoomPriceDto;
import cn.buk.tms.hotel.sc.HotelSearchCriteria;

import java.util.Date;
import java.util.List;

/**
 * @author yfdai
 */
public interface HotelService {

  /**
   * 查找可以入住的酒店
   * @param sc
   * @return
   */
  HotelSearchResult searchHotel(HotelSearchCriteria sc);

  /**
   * 查找指定日期范围内的房价
   * @param roomId
   * @param checkInDate
   * @param checkOutDate
   * @return
   */
  List<RoomPriceDto> searchRoomPrice(int roomId, Date checkInDate, Date checkOutDate);

  List<HotelCity> searchHotelCities();
}
